Time for your 3rd Quarter Update! Are you in the running for the 6th Annual Expert Awards? Click the link to find out.

Third Quarter Hot Shots
 

Having problems asking a question? Have a general question about Experts Exchange? Let us know!

 
Top Regular Expressions Solutions: 1 - 25 of 139
 
I'm trying to write a `find` command to locate files/directories within a certain directory matching a certain regular expression. As it is written now, I'm running a simple find, piping over ...
http://987music.blogspot.com/feeds/posts/default I have to remove the small image (1x1) in the bottom of every article(item) using regex in yahoo pipes
I am searching for patterns in multiple files in multiple directories using regular expressions. I am using findstr command of DOS. We can specify multiple search strings in the findstr co...
In Perl, I'm trying to perform a regex substitution where only a portion of the matched string is replaced. e.g. Original String: "Canon 12mp Camera" Target String: "Canon 12MP Camera" ...
Hi, I am trying to recognize patterns. Given a input of multiple sentences, the program needs to detect if there are any recurring patterns of words (or groups of words) in them.   The progra...
Good day to everyone, I've facing one add issue during validating my team mate's coding. He is trying regular expression to find those <table> tag that appeared below and wipe it out from ...
Hello, i need the regex to find an entire Html IMG Tag by giving only the class name. I need to use Regex (not javascript getElementsByClass) Can anyone tell me the correct regex string ...
All URLs pointing to external locations should be REMOVED from anchor text and replaced with *** So:      <a class="foo" href="/newlink/">https://example.com/mydir/page.html</a> Should be...
I have the following string..it always varies in length.. Up to the ":" is consistant and the period after each line.  How to extract number out of string for each line...thanks.. Have seve...
Hello I need to take this (23, 'test','test2'), scrub with something like this (\()(.*?)(')(.*?)(', ')(.*?)('\),) so I'd have test and test2 in the callback... this is the small test for...
The below code is divided into 2 parts. The first is sample html needed to be parsed. The second is my attempt at parsing it. It works close but not quite there. Ideally what I need is t...
I need to do a Regex Replace (ReReplaceNoCase) for a string of text.  The match should be a space, followed by string of letters, followed by multiple numbers followed by space. For example...
I'm monitoring MySQL log files as I have some strange updating going on and I need a regEx that will find everything except UPDATE statements with STATUS in so I can do a find and replace usin...
I'm using the attached code to parse urls and it fails on urls from the BBC website that contain underscores, e.g. http://news.bbc.co.uk/2/hi/middle_east/8277040.stm http://news.bbc.co.uk/...
This only finds a match. How can I test if it is NOT a match?
how to validate, a text box to allow only number ? i put a range validator , but its taking symbols Thanks in advance!
The script below uses REGEX to try and identify key words and phrases that should be used as tags. It works pretty good however sometimes it gets things wrong because of multiple spaces. ...
Firstly I know this can be done via an explode() very easily, I can't get my head round doing it via preg_replace/regEX though in one expression. I have a string which could contain a hypen...
See below, please.  What am I droing wrong?  I know that my pattern matches that filename. But something isn't right somewhere, because that if-test never succeeds. Help!  And thanks.
I need help with a function to check if any characters in a string violate those allowed Characters allowed are: A-Z, a-z, 0-9, (space), - I've got this so far but it doesn't work: If...
I am using vb.net 2005 I am working with regex.   I would like search for my pattern within beginning somewhere in the string as determined by myself (instead of the begining). Example ....
I'm trying to create a regular expression to match everything after a given string. For example given these strings I want to match everything after the first ".mp3" to remove the "_-" and ...
I'm currently running three different checks to see if a string matches one of the three patterns below, which are slight variations of each other. Can I combine these into a single patter...
The script below uses REGEX to try and identify key words and phrases that should be used as tags. It works pretty good however I want it to only return words that contain more than three l...
I have a string, say:- Hello john, meet me at 09:00 for the meeting I want to format it as:- 09:00, Hello john, meet me for the meeting