User Tools

Site Tools


action:Search_using_Regular_Expression

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
action:Search_using_Regular_Expression [2018/04/09 00:44]
JMichaelTX ADD: Heading, Icon, Sections, Info about Capture Groups
action:Search_using_Regular_Expression [2018/07/06 21:52]
JMichaelTX Add note/link for processing all matches
Line 1: Line 1:
-====== Search using Regular Expression ======+====== Search using Regular Expression ​Action ​======
 {{:​regex-icon.png?​nolink|}} {{:​regex-icon.png?​nolink|}}
  
 The //Search using Regular Expression//​ action allows you to search a clipboard, variable, a file (v8+) or some text (v8+) for a [[:Regular Expressions|regular expression]] and capture what you find to one or more variables. This can be very useful for splitting apart the contents of a variable. The //Search using Regular Expression//​ action allows you to search a clipboard, variable, a file (v8+) or some text (v8+) for a [[:Regular Expressions|regular expression]] and capture what you find to one or more variables. This can be very useful for splitting apart the contents of a variable.
 +
 +:!:  **Note: ​ This RegEx Search returns _only the first_ match in the source text.**\\
 +If you want to process _all_ matches, you will need to use a [[action:​For_Each|For Each Action]] as [[:​Regular_Expressions#​Examples|Shown in this Example]].
  
 {{:​action:​search-using-regex.png?​nolink&​516|}} {{:​action:​search-using-regex.png?​nolink&​516|}}
action/Search_using_Regular_Expression.txt ยท Last modified: 2022/04/17 17:37 by ccstone