Solved

how to créate  a regex

Posted on 2015-01-21
5
91 Views
Last Modified: 2015-01-22
hello

i need a regex to get information Between quotation marks how to créate this ?

information
<smil><head><meta base="rtmpe://blablabla.bla.com/vod"/></head><body><video src="lkBkBBn_Nw1mu6TGiLretavTMfilrO0Jr%2BDyAFh5QXAE0wzoqwU2yj3CuQ6R1MiWmgu02ynofFFOntkrMacA7Ti4qwryFqo%3D-rRExpdTonGsrKIsNS2rsCA%3D%3D.mp4?audioindex=0" /></body></smil>

Open in new window


this is info i want to get
rtmpe://blablabla.bla.com/vod
lkBkBBn_Nw1mu6TGiLretavTMfilrO0Jr%2BDyAFh5QXAE0wzoqwU2yj3CuQ6R1MiWmgu02ynofFFOntkrMacA7Ti4qwryFqo%3D-rRExpdTonGsrKIsNS2rsCA%3D%3D.mp4?audioindex=0

ty :)
0
Comment
Question by:Gaaara
  • 2
  • 2
5 Comments
 
LVL 84

Accepted Solution

by:
ozo earned 250 total points
ID: 40563762
/="(.*?)"/g
0
 

Author Comment

by:Gaaara
ID: 40563768
ty ^^

you have a tool and tutorial for create the regex ?
0
 
LVL 84

Expert Comment

by:ozo
ID: 40563769
There are many tools.  I don't know which you are using.
0
 
LVL 34

Assisted Solution

by:Dan Craciun
Dan Craciun earned 250 total points
ID: 40563774
First, you need to understand what regular expressions are and the syntax. This site is excelent: http://www.regular-expressions.info/tutorial.html

Then you need to understand how regular expressions work in your environment. Most advanced features are not implemented everywhere.

For creating regular expressions easily, without knowing the arcane syntax, you can try Regex Magic: http://www.regexmagic.com/

Personally, I use Regex Buddy. Not free, but great when writing/testing regular expressions.

HTH,
Dan
0
 

Author Closing Comment

by:Gaaara
ID: 40563842
ty :)
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

I have been reconstructing a PHP-based application that has grown into a full blown interface system over the last ten years by a developer that has now gone into business for himself building websites. I am not incredibly fond of writing PHP code o…
Whatever be the reason, if you are working on web development side,  you will need day-today validation codes like email validation, date validation , IP address validation, phone validation on any of the edit page or say at the time of registration…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now