你好我在shell腳本的工作.. 想這是我的shell腳本上正則表達式到grep一個文件的具體段落
Ownership
o Australian Owned
?
Ads for Mining Engineers
232 results for
mining engineers in All States
filtered by Mining Engineers [x] category
* [ ]
[34]get directions
Category:
[35]Mining Engineers
[36]Arrow Electrical Services in Wollongong, NSW under Mining
Engineers logo
[37]email
[38]send to mobile
[39]info
Compare (0)
* [ ]
. [40]Firefly International
Designers & Manufacturers. Service, Repair & Hire.
We are the provider of mining engineers in Mt Thorley, NSW.
25 Thrift Cl, Mt Thorley NSW 2330
ph: (02) 6574 6660
[41]http://www.fireflyint.com.au
[42]get directions
Category:
[43]Mining Engineers
[44]Firefly International in Mt Thorley, NSW under Mining Engineers
logo
[45]email
[46]send to mobile
[47]info
Compare (0)
* [ ]
[48]Materials Solutions
Materials Research & Development, Slurry Rheology & Piping Design.
We are a well established company servicing the mining industry &
associated manufacturing industries in all areas.
Thornlie WA 6108
ph: (08) 6468 4118
[49]www.materialssolutions.com.au
Category:
[50]Mining Engineers
[51]Materials Solutions in Thornlie, WA under Mining Engineers logo
[52]email
[53]send to mobile
[54]info
Compare (0)
* [ ]
. [55]ATC Williams Pty Ltd
Our services are available from concept to completion of the works.
Today, as the rebranded ATC Williams, we continue to expand our
operations across Australia and in locations around the world.
Unit 1, 21 Teddington Rd, Burswood WA 6100
ph: (08) 9355 1383
[56]www.atcwilliams.com.au
[57]get directions
Category:
[58]Mining Engineers
[59]ATC Williams Pty Ltd in Burswood, WA under Mining Engineers
logo
[60]email
[61]send to mobile
[62]info
Compare (0)
運行數據,我需要抓住看起來像這樣的地址
* [ ]
. [55]ATC Williams Pty Ltd
Our services are available from concept to completion of the works.
Today, as the rebranded ATC Williams, we continue to expand our
operations across Australia and in locations around the world.
Unit 1, 21 Teddington Rd, Burswood WA 6100
ph: (08) 9355 1383
[56]www.atcwilliams.com.au
所以我做了什麼.. 我一直工作在正則表達式像
^*(。?[\ W \ W?\ S?] *)+(。com.au)$
但那不是幫助..這時候我給輸入文件用的地址一致我想要的地址匹配..但是當批量給出時,它不起作用。 所以有人可以幫助我..
,如果我用這麼長的表情,我的grep正在搜索元字符的特定字符..一樣,如果我的意思是\ S作爲任何空間,它搜索的字母「S」: ( –