Question: I want to replace numbers followed by period at the beginning of the line:

```
1. The quick brown fox jumps over the lazy dog
12. The slow grey cat jumps over the lazy dog
234. The strong yellow lion jumps over the lazy dog

```

with `.IP number\ntext`, so the above input would lead to:

```
.IP 1
The quick brown fox jumps over the lazy dog
.IP 12
The slow grey cat jumps over the lazy dog
.IP 234
The strong yellow lion jumps over the lazy dog

```

I am using FreeBSD12.1 sed. I would prefer if solution might be reasonablily portable to Linux boxes.

This is what I have tried:

```
sed 's/^\([0-9]\)1\./\.IP \1\
/'

```

Answer: 
* Edit

[![enter image description here](https://i.stack.imgur.com/mLNRZ.jpg)](https://i.stack.imgur.com/mLNRZ.jpg)

```
search_form = browser.find_element_by_id('search_form_input_homepage')
search_form.send_keys('username')
search_form.send_keys('password')
search_form.submit() 

```

See more [here](https://realpython.com/modern-web-automation-with-python-and-selenium/)

Maybe using inputs with `Sendkeys` in **[powershell](/questions/tagged/powershell "show questions tagged 'powershell'")**?

[![enter image description here](https://i.stack.imgur.com/Iad4G.png)](https://i.stack.imgur.com/Iad4G.png) 

* Selenium- + Proxy + Firewall + Username + Password == **[Déjà vu to me](https://stackoverflow.com/questions/55993431/how-to-authenticate-a-firewall-web-page-via-powershell-selenium-chrome-driver/55997694#55997694)**

```ps1
$wshell = New-Object -ComObject wscript.shell
$obj = New-Object -com Wscript.Shell
$wshell.Run('Chrome'),9
Start-Sleep -m 700
[System.Windows.Forms.SendKeys]::SendWait("{TAB}") 
Start-Sleep -m 250
[System.Windows.Forms.SendKeys]::SendWait("username") 
Start-Sleep -m 250
[System.Windows.Forms.SendKeys]::SendWait("pasword")
Start-Sleep -m 250
[System.Windows.Forms.SendKeys]::SendWait("~")`

```

You may need to adjust the timeout and the keys needed to navigate your interface

```ps1
[System.Windows.Forms.SendKeys]::SendWait("{TAB}{TAB}") interface/selenium 
Start-Sleep -m `550

```

* **[SendKeys Method in PowerShell](https://superuser.com/questions/1249976/sendkeys-method-in-powershell/1250038)**
When you are lacking a means of supplying the proxy with user-name and password,
you could perhaps solve this by using a two-step proxy :

1. A local proxy server on your computer without user-name and password
2. The local proxy should connect to the real external proxy using the user-name and password.

A possible solution is installing [node.js](https://nodejs.org/en/) together with
[proxy-password-automator](https://github.com/sjitech/proxy-login-automator), but this depends on your environment.

If you don't have a suitable proxy product, or if the above does not relate
to your environment, I would need more detail about the
environment to suggest a suitable one.