RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Pattern Title
Expression
<[^>]*name[\s]*=[\s]*"?[^\w_]*"?[^>]*>
Description
This RX is used to find get all named tags in an html string. If you find a problem with it, please email [email protected]
Matches
<input type = text name = "bob"> | <select name = "fred"> | <form
Non-Matches
<input type = submit> | <font face = "arial"> | The drity brown fox stank like
Author Rating: Not yet rated. Andrew Freese
Source
Your Rating
Bad Good

Enter New Comment

Title
 
Name
 
Comment
 
Spammers suck - we apologize. Please enter the text shown below to enable your comment (not case sensitive - try as many times as you need to if the first ones are too hard):

Existing User Comments

Title: Use
Name: Bob
Date: 5/15/2003 11:17:06 PM
Comment:
This worked great on a PHP project I had. The user selected a file, and my app sucked it up and with the help of that regex listed all visible form elements


Copyright © 2001-2024, RegexAdvice.com | ASP.NET Tutorials