Siv Cov Ntawv Qhia Uas Niaj Zauv Hauv Notepad ++

Pin
Send
Share
Send

Programming yog ib qho nyuaj, mob, thiab feem ntau monotonous txoj kev nyob rau hauv uas ib tug feem ntau muaj kom rov hais dua ib yam los zoo ib yam. Txhawm rau ua kom tiav qhov kev siv tshuab thiab ua kom nrawm nrawm rau kev tshawb fawb thiab hloov cov khoom sib thooj hauv ib daim ntawv, ib qho kev qhia tawm tsis tu ncua tau tsim rau hauv lub cajmeem. Nws pab txuag lub sijhawm thiab lub zog ntawm cov programmer, webmasters, thiab, qee zaum, cov sawv cev ntawm lwm txoj haujlwm. Cia peb paub ua li cas cov kev hais tawm tsis tu ncua tau siv nyob hauv qhov siab dua Notepad ++ editor.

Rub tawm cov cai tshiab ntawm Notepad ++

Lub tswv yim ntawm kev hais tawm tas li

Ua ntej peb pib kawm txog kev siv cov kev hais tawm hauv Notepad ++ hauv kev coj ua, cia peb kawm ntxiv txog qhov tseem ceeb ntawm cov lus no.

Cov ncauj lus ib txwm siv yog cov lus tshawb nrhiav tshwj xeeb, siv uas koj tuaj yeem ua ntau yam nyob rau ntawm kab ntawm daim ntawv. Qhov no yog ua tiav siv cov metacharacters tshwj xeeb, kev tawm tswv yim uas tshawb nrhiav thiab ua cov ua dag raws li cov qauv. Piv txwv, hauv Notepad ++, lub sijhawm nyob hauv daim ntawv ntawm ib tus qauv ib txwm sawv cev rau ib qho ntawm tag nrho cov cim ntawm cov cim uas twb muaj lawm, thiab cov lus tshaj tawm [A-Z] sawv cev rau cov ntawv loj ntawm Latin cov tsiaj ntawv.

Kev qhia ua ntu zus yuav sib txawv ntawm cov lus programming sib txawv. Notepad ++ siv tib qho kev qhia zoo ib yam li cov lus nrov ntawm Perl programming.

Cov Kev Qhia Rau Sawv Cev Kom Muaj nuj nqis

Tam sim no peb yuav qhia koj txog cov kab lus uas niaj zaus siv hauv Notepad ++:

      Cov. - ib qho cim;
      [0-9] - ib lub cim hauv daim ntawv ntawm tus lej;
      D - ib qho cim tshwj tsis yog tus lej;
      [A-Z] - cov tsiaj ntawv ntawm Latin cov tsiaj ntawv;
      [a-z] - cov tsiaj ntawv me ntawm Latin cov tsiaj ntawv;
      [a- Z] - ib qho ntawm cov tsiaj ntawv ntawm Latin cov tsiaj ntawv, tsis hais qhov xwm txheej twg;
      w - tsab ntawv, kos kab hauv qab lossis tus lej;
      s - chaw seem;
      ^ - pib ntawm kab;
      $ - kawg ntawm kab;
      * - kev rov ua dua ntawm tus xeeb ceem (ntawm 0 txog infinity);
      4 1 2 3 - cov lej ntawm cov neeg;
      ^ s * $ - tshawb txog kab tas;
      ([0-9] [0-9] *.) - nrhiav rau tus lej ob tug.

Qhov tseeb, muaj ntau tus naj npawb ntawm cov cim tsis tu ncua uas tsis tuaj yeem suav nrog hauv ib tsab xov xwm. Ib qho tseem ceeb ntxiv ntawm lawv cov kev hloov pauv ntau yam uas cov tsim tawm thiab cov tsim qauv web siv thaum ua haujlwm nrog Notepad ++.

Siv cov kev qhia tsis tu ncua hauv Notepad ++ thaum tshawb xyuas

Tam sim no cia peb saib nyob rau piv txwv tshwj xeeb ntawm kev qhia li cas ib txwm siv hauv Notepad ++.

Txhawm rau pib ua haujlwm nrog cov kab lus ib txwm siv, mus rau ntu "Tshawb Nrhiav", thiab xaiv "Nrhiav" los ntawm cov npe uas tshwm sim.

Ua ntej peb qhib lub lag luam tshawb xyuas qhov rai hauv Notepad ++ cov haujlwm. Lub qhov rai no tseem tuaj yeem nkag mus los ntawm nias lub pob nyem shortcut Ctrl + F. Nco ntsoov ua kom muaj khawm "Cov Ntawv Qhia Niaj Hnub" kom tuaj yeem ua haujlwm nrog txoj haujlwm no.

Nrhiav txhua tus lej hauv cov ntawv. Txhawm rau ua qhov no, nkag mus rau hauv qhov ntsuas [0-9] hauv kab tshawb nrhiav, thiab nyem rau ntawm "Tshawb Nrhiav Tom ntej" khawm. Txhua zaus koj nyem rau ntawm lub pob no, tus lej tom ntej uas tshwm hauv cov ntaub ntawv txij toj mus rau nram qab yuav qhia. Hloov mus rau qhov kev tshawb nrhiav hom txij hauv qab mus rau saum, uas tuaj yeem ua tau siv cov qauv kev tshawb fawb li niaj zaus, tsis tuaj yeem siv thaum ua haujlwm nrog cov kev hais tawm ib txwm muaj.

Yog tias koj nyem rau ntawm lub pob "Nrhiav txhua yam hauv cov ntaub ntawv tam sim no", tom qab ntawd txhua qhov kev tshawb nrhiav, uas yog, cov kab lus digital nyob hauv cov ntaub ntawv, yuav muab tso rau hauv lub qhov rais cais.

Thiab ntawm no yog cov txiaj ntsig tshawb pom tshwm los ntawm kab.

Hloov cov cim nrog cov kab lus ib txwm siv hauv Notepad ++

Tab sis, hauv Notepad ++ koj tsis tuaj yeem tsuas yog nrhiav cov cim, tab sis kuj hloov lawv siv cov kab lus ib txwm muaj. Txhawm rau pib qhov kev txiav txim no, mus rau "Hloov" tab ntawm lub qhov rai tshawb.

Cia peb qhov txuas rau sab nraud los ntawm kev sib hloov. Txhawm rau ua qhov no, muab tus nqi "href =. (// [^ '”] *) "hauv kab ntawv" Nrhiav ", thiab teb" Hloov "-" href = "/ redirect.php? Rau = 1". Nyem rau khawm "Hloov Tag Nrho".

Raws li koj tuaj yeem pom, hloov chaw tau muaj kev vam meej.

Tam sim no cia siv cov kev hloov pauv hloov tsis tu ncua rau cov koos pis tawj tsis yog khoos phis tawj lossis lub vev xaib kev npaj haujlwm.

Peb muaj cov npe ntawm cov neeg nyob hauv lub npe tag nrho nrog hnub yug.

Peb npaj cov hnub yug thiab cov npe ntawm cov neeg nyob hauv qhov chaw. Ua li no, hauv kem "Tshawb nrhiav" sau "( w +) ( w +) ( w +) ( d +. D +. D +)", thiab hauv kem "Hloov" - " 4 1 2 3" Cov. Nyem rau khawm "Hloov Tag Nrho".

Raws li koj tuaj yeem pom, hloov chaw tau muaj kev vam meej.

Peb tau qhia cov kev ua yam yooj yim tshaj plaws uas tuaj yeem ua los ntawm kev siv cov kev qhia niaj zaus hauv Notepad ++. Tab sis nrog kev pab ntawm cov kab lus no, cov kws tshaj lij kev tshaj lij ua cov haujlwm nyuaj.

Pin
Send
Share
Send