Newbie RegEx Q.. How to screen .com

Tips on writing regular expressions for searching the post list

Moderators: Quade, dexter

Newbie RegEx Q.. How to screen .com

Postby StickyC » Sat Aug 18, 2001 5:51 pm

I'm trying to screen out all subjects with web sites in 'em. Shouldn't

'.com

be the correct format (to take the . as a literal)?
StickyC
 

RE: Newbie RegEx Q.. How to screen .com

Postby dexter » Sat Aug 18, 2001 6:29 pm

The backslash is the escape for RegEx. Use

\.com

to filter them out.
User avatar
dexter
Site Admin
Site Admin
 
Posts: 9514
Joined: Fri May 18, 2001 3:50 pm
Location: Northern Virginia, US

Registered Newsbin User since: 10/24/97


Return to Regular Expressions

Who is online

Users browsing this forum: No registered users and 1 guest

cron