Welcome to Dream.In.Code
Getting PHP Help is Easy!

Join 132,461 PHP Programmers for FREE! Get instant access to thousands of PHP experts, tutorials, code snippets, and more! There are 1,372 people online right now. Registration is fast and FREE... Join Now!




Php Capabilites?

 
Reply to this topicStart new topic

Php Capabilites?, Sed and regex like powers?

Nova Dragoon
post 3 Mar, 2005 - 03:58 PM
Post #1


The Innocent Shall Suffer, Big Time

Group Icon
Joined: 16 Aug, 2001
Posts: 6,128



Thanked 4 times

Dream Kudos: 515

Expert In: Python, Linux

My Contributions


Does PHP has sed like abilites? Or at least has a way of dealing with regular expressions?
User is offlineProfile CardPM

Go to the top of the page

Amadeus
post 3 Mar, 2005 - 04:02 PM
Post #2


g++ -o drink whiskey.cpp

Group Icon
Joined: 12 Jul, 2002
Posts: 12,173



Thanked 33 times

Dream Kudos: 25
My Contributions


Check here, it's just a guy that put together a couple of regex tutorials, but he presents the base info well.
User is online!Profile CardPM

Go to the top of the page

snoj
post 3 Mar, 2005 - 05:22 PM
Post #3


$Null

Group Icon
Joined: 31 Mar, 2003
Posts: 3,304



Thanked 5 times

Dream Kudos: 700
My Contributions


I don't know what "sed" is but I use The Regex Coach to test both my preg_* and ereg_* stuff.
User is offlineProfile CardPM

Go to the top of the page

Amadeus
post 3 Mar, 2005 - 06:10 PM
Post #4


g++ -o drink whiskey.cpp

Group Icon
Joined: 12 Jul, 2002
Posts: 12,173



Thanked 33 times

Dream Kudos: 25
My Contributions


sed is a stream editor, generally used to edit files through a series of command line arguments. It has very powerful regex capapbilities, and is familiar to unix and linux users. I heard about a windows implementation once, but I've never tracked it down.
User is online!Profile CardPM

Go to the top of the page

cyberscribe
post 3 Mar, 2005 - 06:11 PM
Post #5


humble.genius

Group Icon
Joined: 5 May, 2002
Posts: 1,062



Thanked 2 times

Dream Kudos: 154
My Contributions


sed is a powerful UNIX command-line pattern matching and string manipulation utility. Often compared to its cousin application, awk. Anything you can do in awk/sed you can do in PHP ... but it will probably take a few more lines of code wink2.gif
User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 11/22/08 12:49PM

Live PHP Help!

PHP Tutorials

Reference Sheets

PHP Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month