Adobe Connect | Adobe Conect Custom Pods | AutoHotkey | Android | Arduino | Blog | COMM140 | Fractals | Grammar Checkers | Knots | a Million Dots | Processing | RedBubble | Tutorials | Weather | World Time Meeting Planner |
Home > Tutorials > Regular Expressions
According to the Wikipedia:
A regular expression is a string that describes or matches a set of strings, according to certain syntax rules. Regular expressions are used by many text editors and utilities to search and manipulate bodies of text based on certain patterns.
For a set of useful looking tools see http://global-search-and-replace.qarchive.org/
One of the most powerful features of Regular Expressions is Negative lookahead used to match something not followed by something else.
|EditPad Pro||Home page
EditPad Pro's regex flavor is almost identical to the one used in Perl 5. Only the extensions that only make sense in a programming language are not available. All regex operators explained in the tutorial on this website are available in EditPad Pro.
EditPad Pro integrates with RegexBuddy. You can instantly fire up RegexBuddy to edit the regex you want to use in EditPad Pro, or select one from a RegexBuddy library.
|jEdit||http://www.jedit.org/||GNU General Public License.|
|Note Tab Pro||http://www.notetab.com/||Very powerful disk wide search and replace feature|
|Text Pad||http://www.textpad.com/||Nice clean interface. Not able to search for regular expressions within files see WildEdit or Note Tab if you want to do a global search and replace on a set of files.|
I have yet to use this tool but it sounds like it does a similar job to the Note Tab Pro
An interactive tool for power users to edit a set of text files in a folder hierarchy, filtered by wildcards. This makes it ideal for editing web pages and software source code, or reformatting log files and newsletters.
|EngInSite Perl Editor Lite (2,77 MB) - Free!|
|<a name="(.*)">||<a name="XSLTpbhabcabcbbcabca">
|To match anchor tags in a HTML document|
match anchor tag with closing <\a> on following line
|<td(.*)>||<td style="padding: 0in 5.4pt; width: 144.65pt;" valign="top" width="241">
||to match style tags used in tables|
Change the following list:
|B\) =(.*)\r\n(.*)\r\n(.*)\r\n(.*)\r\n||B) =$1\r\n$2\r\n$3\r\n$4\r\nANSWER: B||
An eviscerated bowel should be managed by:
Assist with converting from GIFT to Aiken format quetions
perl -0777 -pi -e 's/<\/?FONT[^>]*>//gi' filename
| # remove font tags
Replaces this :
<font size=2>Hi there. <b>Hey! I'm bold!</b> Plain again.</font>
With this :
Hi there. <b>Hey! I'm bold!</b> Plain again.
See ClipWriter http://www.dataomega.com/ClipWriter/
|^!Replace "(^\w\w)\w* (\w*)" >> $1$2 RWAS||
To make user names from full names
Perl Ports (Binary Distributions)
Perl regular expression examples
Russell, R. (2016, July 04, 03:44 pm). REgular expressions.
Retrieved March 19, 2018, from http://www.rupert.id.au/tutorials/regular-expressions/index.php
Last refreshed: March 19 2018. 05:57.38 pm
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.5 License.