macros:regular expression: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(change dead link)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
Here is the java page that explains what the java regular expressions are. [https://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html]
Here is the java page that explains what the java regular expressions are. [https://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html]


There are many online regex testers to help you work them out: [duckduckgo.com/?q=java+regex+tester]
There are many online regex testers to help you work them out: [http://duckduckgo.com/?q=java+regex+tester]


Note: the newline or (line-break) character is \\\n  (three slashes). All the other characters like {space} require two slashes \\s
Note: the newline or (line-break) character is \\\n  (three slashes). All the other characters like {space} require two slashes \\s
[[Category:Macro Function]]
[[Category:Macro Function]]

Latest revision as of 23:59, 18 December 2023

Information on regular expressions can be found here: [1] Note that because this is Java, the regular expression are slightly different from regular 'regular expressions'. Here is the java page that explains what the java regular expressions are. [2]

There are many online regex testers to help you work them out: [3]

Note: the newline or (line-break) character is \\\n (three slashes). All the other characters like {space} require two slashes \\s