Raised This Month: $ Target: $400
 0% 

Regex Patterns


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 02-21-2009 , 19:06   Regex Patterns
Reply With Quote #1

I'm trying to learn Regex patterns because I have seen them to be more useful than trying to make a function to check.

Let's say I wanted to check if the given string was a SteamID.
Would this work:
^STEAM_0:(0|1):\d$
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:53.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode